package operation;

import book.BookList;

public class Show implements Io{
    @Override
    public void work(BookList bookList) {
        System.out.println("打印图书");
        int size=bookList.getUsedSize();
        for(int i=0;i<size;i++){
            System.out.println(bookList.getBook(i));
        }
    }
}
